import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import TypeNav from "@/components/TypeNav";
import "@/mock";

import Swiper from "@/components/Swiper";

import Pagination from "@/components/Pagination";

Vue.config.productionTip = false;
Vue.component("TypeNav", TypeNav);

Vue.component("Swiper", Swiper);

Vue.component("Pagination", Pagination);
new Vue({

  render: h => h(App),
  router,
  store,
  beforeCreate() {
    Vue.prototype.$bus = this;
  }
}).$mount('#app');
